package com.ouheng.shop.dao;

import com.ouheng.shop.domain.AdDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-06-22 13:54:15
 */
@Mapper
public interface AdDao {

	AdDO get(Long id);
	
	List<AdDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(AdDO ad);
	
	int update(AdDO ad);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
